[org 0]
[bits 16]
    jmp 0x07c0:start
start:
    mov ax, cs
    mov ds, ax

    mov ax, 0xb800
    mov es, ax
    mov di, 0
    mov ax, word [msgBack]
    mov cx, 0x7FF
    push ax
    mov ax, 0
    mov sb, ax
    pop ax
    mov edi, 0

:paint
    mov byte [es:edi], msgWelcome:sb
    inc edi
    mov byte [es:edi], 0x06
    inc edi
    inc ax
    cmp ax, 37
    je $+1
    jmp $

msgWelcome db "Welcome to promine-TUI 1.0\nLoading..."

times 510-($-$$) db 0
dw 0xAA55